package com.youpai.platform.order.web.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @time: 2022/8/4 12:39 下午
 * @author: welles
 * @description: 创建订单请求参数
 */
@Data
@ApiModel(value = "CreateOrderReq",description = "创建订单请求参数")
public class CreateOrderReq {

    @NotBlank(message = "技能id不能为空")
    @ApiModelProperty(value = "技能ID")
    private String skillId;

    @NotBlank(message = "数量不能为空")
    @ApiModelProperty(value = "数量")
    private Integer count;
}
